package com.ants.boot.wx.dto.wxarticle;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import javax.validation.constraints.Min;

/**
 * @author 蚂蚁会花呗
 * @date 2022/6/7 16:10
 */
@ApiModel(value = "详情")
public class DetailArticleDto {

    @ApiModelProperty(value = "主键")
    @Min(value = 1,message = "主键id不能为空！")
    private Long id;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }
}
